package conn;

import java.sql.PreparedStatement;
import java.sql.SQLException;

public class ParamsSetImp implements ParamsSet{
	private Object[] params;
	public ParamsSetImp(Object...objs){
		params=objs;
	}
	@Override
	public void setParams(PreparedStatement ps) throws SQLException {
		for(int i=0;i<params.length;i++){
			ps.setObject(i+1, params[i]);
		}
	}

}
